function removeDir(src){
    let arr =fs.readdirSync

    arr.forEach(item=>{
        let url =src +"/"+item
        let stat =fs.statSync(url)
        if(stat.isFile()){
            fs.unlinkSunc(url)
        }else{
            removeDir(url)
        }
    })
    fs.rmdirSync(src)
}
module.exports={
    removeDir
}